package com.mohe.shanpao.domain.crawler;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;

@Table(name = "crawl_clue")
public class CrawlClue 
{
	@Id
	@Column(name = "id")
	private long id;
	
	@Column(name = "task_id")
	private long taskId;
	
	@Column(name = "rule_id")
	private long ruleId;
	
	@Column(name = "clue_url")
	private String clueUrl;
	
	@Column(name = "page_rule")
	private String pageRule;
	
	@Column(name = "next_rule")
	private String nextRule;
	
	@Column(name = "post_url")
	private String postUrl;
	
	@Column(name = "task_type")
	private String taskType;
	
	@Column(name = "period")
	private int period;
	
	@Column(name = "create_time")
	private Date createTime;

	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}
	
	public String getNextRule() {
		return nextRule;
	}

	public void setNextRule(String nextRule) {
		this.nextRule = nextRule;
	}
	
	public long getTaskId() {
		return taskId;
	}

	public void setTaskId(long taskId) {
		this.taskId = taskId;
	}

	public String getClueUrl() {
		return clueUrl;
	}

	public void setClueUrl(String clueUrl) {
		this.clueUrl = clueUrl;
	}

	public String getPageRule() {
		return pageRule;
	}

	public void setPageRule(String pageRule) {
		this.pageRule = pageRule;
	}

	public String getPostUrl() {
		return postUrl;
	}

	public void setPostUrl(String postUrl) {
		this.postUrl = postUrl;
	}

	public String getTaskType() {
		return taskType;
	}

	public void setTaskType(String taskType) {
		this.taskType = taskType;
	}

	public int getPeriod() {
		return period;
	}

	public void setPeriod(int period) {
		this.period = period;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	
}
